package Simulator;

public class Grass {
	// The default grass grow percentage.
	private static final double GRASS_GROW_PERCENTAGE = 6.5;
	// The number of grass on the hole field.
	private double grass;

	public Grass() {

	}

	public void setGrass(double grass) {
		this.grass = grass;
	}

	public double getGrass() {
		return grass;
	}

	public void grow(double grassNumber) {
		if (grass < (grassNumber * GRASS_GROW_PERCENTAGE)) {
			grass = grass * GRASS_GROW_PERCENTAGE;
		}
		// else will the grass not crow
	}
}
